package com.wh.springboot.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wh.springboot.common.entity.BanJi;
import com.wh.springboot.mapper.BanJiMapper;
import com.wh.springboot.service.IBanJiService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author elsy
 * @since 2023-04-15
 */
@Service
public class BanJiServiceImpl extends ServiceImpl<BanJiMapper, BanJi> implements IBanJiService {

    @Resource
    private BanJiMapper banJiMapper;

    @Override
    public Page<BanJi> findPage(Page<BanJi> page, String name) {
        return banJiMapper.findPage(page,name);
    }
}
